import { Suspense } from "react"; import { Skeleton } from "@/components/ui/skeleton"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import VendorDocumentPage from "./vendor-document-page"; import { Shell } from "@/components/shell"; import { useTranslation } from "@/i18n" export const metadata = { title: "Document Search and Upload", description: "Vendor Document Search and File Upload", }; // ============================================================================ // 로딩 스켈레톤 // ============================================================================ function VendorDocumentSkeleton() { return ( ); } export default async function DocumentUploadPage({ params, searchParams, }: { params: Promise<{ lng: string }> searchParams: Promise<{ [key: string]: string | string[] | undefined }>; }) { const { lng } = await params; const { t } = await useTranslation(lng, 'menu') const resolvedParams = await searchParams; return ( {/* 헤더 */} {t('menu.vendor.engineering.document_submission')} {/* 메인 컨텐츠 */} }> ); }